CREATE TABLE [dbo].[TRPROV_USUA]
(
[CO_PROV] [dbo].[TD_VC_020] NOT NULL,
[CO_USUA] [dbo].[TD_VC_008] NOT NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TRPROV_US__CO_US__7FEAFD3E] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TRPROV_US__FE_US__00DF2177] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TRPROV_US__CO_US__01D345B0] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TRPROV_US__FE_US__02C769E9] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TRPROV_USUA] ADD CONSTRAINT [PK__TRPROV_U__A19FEDD62E06CDA9] PRIMARY KEY CLUSTERED  ([CO_PROV], [CO_USUA]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[TRPROV_USUA] TO [public]
GRANT INSERT ON  [dbo].[TRPROV_USUA] TO [public]
GRANT DELETE ON  [dbo].[TRPROV_USUA] TO [public]
GRANT UPDATE ON  [dbo].[TRPROV_USUA] TO [public]
GO
